package com.example.petshop.service;

import com.example.petshop.entity.Pet;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface PetService {
    List<Pet> getAllPets();
    Pet getPetById(int petId);
    void createPet(Pet pet);

    void deletePet(Integer petId);

    void updatePet(Pet pet);
}
